package com.gitee.loyo

import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.gitee.loyo.interfaces.TypeReference
import org.junit.Test

class ReflectionTestCase {

    @Test
    fun testDataClassProperty(){
        println(B().ref.obj::class)
    }

    class Ref{
        lateinit var obj: Any
    }

    open class A(
        val ref: Ref
    ){
        init {
            ref.obj = this
        }
    }

    class B: A(Ref())
}